import request from "@/util/request";

export const circleparticulars = (id) => request({
  url: '/qichong-record/catalog/category/detail',
  method: 'get',
  params: {
    id
  }
})

export const circleessence = (query) => request({
  url: '/qichong-record/api/article/pageByCategory',
  method: 'get',
  params: query
})

export const getheatseniority = (parentCategoryId = 0, categoryId = 0) => request({
  url: '/qichong-record/api/community/ranking',
  method: 'get',
  params: {
    categoryId,
    parentCategoryId
  }
})
export const getActivity = (categoryId, current) => request({
  url: '/qichong-record/api/activity/page',
  params: {
    categoryId,
    current,
    size: 20
  }
})
